package dk.pun.dums.shared.character;

import java.util.ArrayList;
import java.util.List;

public enum CharacterStatus {

	NEW			("Ny"),
	ACTIVE		("Aktiv"),
	INACTIVE	("Inaktiv"),
	DEAD		("Død"),
	RETIRED		("Pensioneret");
	
	public static final List<String> NAMES;
	
	static {
		NAMES = new ArrayList<String>();
		for (CharacterStatus status : CharacterStatus.values()) {
			NAMES.add(status.getName());
		}
	}
	
	private final String name;
	
	private CharacterStatus(final String name) {
		this.name = name;
	}

	public String getName() {
		return this.name;
	}
	
	public String toString() {
		return this.name;
	}
}
